package com.example.student.service;

import com.example.student.bean.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface EmpService {
    List<Map<String,Object>> queryAll();
    int addEmp(Emp emp);
    int del(@Param("id")String id);
    Emp queryById(@Param("id")String id);
    int update(Emp emp);
}
